/**
* @Author: 858834013@qq.com
* @Name: tab
* @Date: 2023年05月17日10:31:10
* @Desc: tab
*/
<template>
  <div class="tabsMain">
    <tab v-model:active="active" :list="tabList"></tab>
  </div>
</template>
<script>
import tab from './tab.vue'

export default {
  name: "tabs",
  components: {tab},
  data() {
    return {
      active: '0',
      tabList: [{
        name: '库存负荷',
        id: '0'
      }, {
        name: '处置去向',
        id: '1'
      }, {
        name: '行业总废',
        id: '2'
      }]
    }
  },
  watch: {},
  mounted() {
  },
  methods: {

  }
}
</script>
<style scoped lang="scss">
.tabsMain {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  width: calc(100% - 40px);
  margin: 10px auto;
}
</style>
